import './assets/main.scss'

import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import router from "@/router";
import { createPinia } from 'pinia';
import { createPersistedState } from 'pinia-persistedstate-plugin';
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const persistedstate = createPersistedState();
const pinia = createPinia()
const app = createApp(App)

pinia.use(persistedstate)
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(router);
app.use(pinia)

app.mount('#app')
